*{
    box-sizing: border-box;
    font-family: "El Messiri", serif;
    margin: 0px;
}
#top{
    display: flex;
    justify-content: flex-end;
}
.icon{
    display: flex;
    justify-content: space-between;
    margin-right: 10px;
}
.logo{
    position: absolute;
    left: 10%;
    width: 100px;
}
.logo img{
    width: 70px;
    height: 60px;
}
.logo img:hover{
    scale: 1.2;
}
.icon a{
    display: inline-block;
    width: 38px;
    height: 38px;
    background-color: #ef0e0e;
    border-radius: 12px;
    margin: 10px;
    box-shadow: 1px 1px 4px #aeaeae, -1px -1px 4px white;
    text-align: center;
    line-height: 42px;
    font-size: 23px;
    border: 2px solid #eee;
    color: #FFBABA;
    transition: all 0.3s ease;
}
.ph-num{
    font-size: 18px;
    color: #333;
    text-align: right;
    font-weight: bold;
    font-family: "El Messiri", serif;
    margin-right: 70px;
    margin-top: 25px;
}
.nav-bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #d90429;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;
}
.nav-menu{
    display: flex;
    justify-content: center;
    width: 100%;
}
ul{
    list-style-type: none;
    margin: 0px;
    padding: 0px;

}
li{
    float: left;
    margin: 0px 20px;
}
li a{
    text-decoration: none;
    color: white;
    font-size: 22px;
    font-weight: bold;
    position: relative;

}
li .dropdown{
    display: inline-block;
}
.dropdown-content{
    position: absolute;
    background-color: #d90429 ;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    display: none;
}
.dropdown-content a{
    display: block;
    position: relative;
    padding: 10px;
    font-size: 16px;
}
.dropdown:hover .dropdown-content{
    display: block;
}
ul a:hover{
    border-bottom: 2px solid white;
    transition: 0.5s all;
}
.two img{
    width: 100%;
    height: 300px;
}
.para{
    width: 93%;
    margin: 10px auto;
    background-color: white;
    padding-bottom: 7px;
    color: black;
    line-height: 1.6;
}
.para h1{
    font-size: 40px;
    padding: 20px;
}
.para h2{
    font-size: 22px;
    padding: 20px;
}
.para p{
    text-align: justify;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 18px;
}
.subbtn{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}
.subbtn button{
    width: 250px;
    height: 50px;
    position: relative;
    border: none;
    outline: none;
    border-radius: 10px;
    box-shadow: 0 3px 3px #aaa;
    margin: 5px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    text-align: left;
    padding-left: 20px;
    cursor: pointer;
    background-color: black;
    color: white;
}
.container button::before {
    content: "Download";
    line-height: 50px;
    text-align: center;
    border-radius: 0 10px 10px 0;
    position: absolute;
    background-color: #F5054F;
    width: 170px;
    bottom: 0;
    top: 0;
    right: 0;
}
.subbtn:hover{
    opacity: 0.8;
}
#four{
    background-color: #e32142;
}
#four h1{
    font-size: 40px;
    color: white;
    text-align: center;
    padding: 30px;
}
.container-2{
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 20px;
}
.box{
    position: relative;
    width: 380px;
    height: 300px;
    background-color: #FFF3E0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    border: 9px solid red;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.box img{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.box .content{
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    text-align: center;
    width: 100%;
    z-index: 2;
}
.five{
    padding: 20px;
}
.five h1{
    font-size: 32px;
    font-weight: bold;
    color: black;
    padding: 30px;
    text-align: center;
}
.five p{
    font-size: 18px;
    color: black;
    margin-bottom: 40px;
    text-align: center;
}
.card-container{
    display: flex;
    justify-content: center;
    gap: 30px;
}
.card{
    position: relative;
    width: 370px;
    padding: 20px;
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    height: 260px;
}
.card:hover{
    transform: translate(0px,-10px);
    color: white;
    background-color: #d90429;
}

.card h3{
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0 5px;
    color: #d90429;
}
.card p{
    font-size: 18px;
    color: rgb(0, 0, 0);
    margin-top: 18px;
    margin-bottom: 0px;
    text-align: center;
}
.card:hover p{
    color: white;
}
.card:hover h3{
    color: white;
}
.card:hover .card-icon i{
    color: white;
}

.box img:hover .overlay{
    bottom: 0%;
}
footer{
    padding-top: 15px;
    background-color: red;
    color: white;
    text-align: center;
}
footer img{
    width: 100px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    transition: trasform 0.3s ease;
}
footer img:hover{
    scale: 1.1;
    transform: 0.3s ease;
}
.social-menu ul{
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}
.social-menu ul li{
    margin: 0px 10px;
}
.social-menu ul li a{
    position: relative;
    display: block;
    width: 35px;
    height: 35px;
    border-radius: 80%;
    background-color: white;
    text-align: center;
    transition: 0.5s;
    transform: translate(0, 0px);
    box-shadow: 0px 7px 5px rgba(0, 0, 0, 0.5);
}
.social-menu ul li a .fa{
    color: #000000;
    font-size: 20px;
    line-height: 36px;
    transition: .5s;
}
.social-menu ul li:hover{
    transform: translate(0,-10px);
    transition: 1s;
}
.cont p{
    margin-bottom: 30px;
}
.cont p{
    margin-bottom: 30px;
}
.icon a:hover{
    background-color: black;
    color: white;
}
@media screen and (max-width:600px) {
    .container-2{
        display: block;
        padding: 0px;
    }
    .box{
        width: 100%;
    }
    .card-container{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .card{
        width: 100%;
    }
    #five{
        margin-bottom: 35px;
    }
    .para p{
        margin-left: 8px;
    }
    .nav-menu{
        flex-direction: column;
    }
    .nav-menu ul li{
        display: block;
        text-align: center;
        width: 100%;
        margin: 0px;
    }
    .dropdown-content{
        text-align: center;
        position: relative;
    }
    .ph-num{
        font-size: 12px;
        margin: 0px;
        margin-top: 12px;
    }
    #top{
        justify-content: left;
    }
}
#scroll {
    bottom: 20px;
    right: 20px;
    background: red;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    position: fixed;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 3;
}
